//二级分类
class CategorySub {
  int categorySubId; //二级分类Id
  String categorySubName; //分类名字
  String categorySubDescribe; //分类描述
  String categorySubImg; //分类图片
  int categoryId; //一级分类ID

  CategorySub(
      {this.categoryId,
      this.categorySubId,
      this.categorySubDescribe,
      this.categorySubImg,
      this.categorySubName});

  factory CategorySub.formJson(dynamic json) {
    return CategorySub(
      categoryId: json['categoryId'],
      categorySubId: json['categorySubId'],
      categorySubDescribe: json['categorySubDescribe'],
      categorySubImg: json['categorySubImg'],
      categorySubName: json['categorySubName'],
    );
  }
}
